let express = require('express')
let app = express()


app.use('*', function (req, res, next) {
  res.setHeader('Access-Control-Allow-Origin', '*')
  next()
})

app.get('/test', (req, res) => {
  res.json({
    ok: 200
  })
})
app.listen(3000, () => {
  console.log('1213')
})